.fade-slide-y-enter-active {
  transition: all 0.3s ease;
}
.fade-slide-y-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.fade-slide-y-enter-from,
.fade-slide-y-leave-to {
  transform: translateY(10px);
  opacity: 0;
}
$color: #5ce454;
.layout {
  display: flex;
  .content {
    flex: 1;
    box-sizing: border-box;
  }
}
.close {
  margin-left: -240px;
}
.foldBtnShow {
  right: -33px !important;
}

.menu {
  .foldBtn {
    transition: all 0.3s ease-in-out;
    width: 30px;
    height: 30px;
    font-size: 14px;
    color: $color;
    background: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid $color;
    box-sizing: border-box;
    border-radius: 50%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    cursor: pointer;
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    user-select: none;
  }
  width: 240px;
  height: 100vh;
  padding: 5px 5px;
  box-sizing: border-box;
  border-right: 2px solid #ede0e0;
  position: relative;
  transition: all 0.3s ease-in-out;
  .item {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    margin: 0 auto;
    margin-top: 6px;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
    color: $color;
    user-select: none;
    text-decoration: none;
  }

  .activeItem::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: $color;
    opacity: 0.2;
    transition: all 0.3s;
    border-radius: 4px;
  }
}
